<?php
require_once 'lib/controller.php';
require_once 'views/StandardView.php';
require_once 'db/RecentListingsDB.php';
require_once 'views/RecentListingsView.php';
require_once 'models/RecentListingsModel.php';

$standardView = new StandardView($html, $_GET, $db);
$recentlistingsDB = new RecentListingsDB($db);
$recentlistingsView = new RecentListingsView($html);
$recentlistingsModel = new RecentListingsModel($recentlistingsDB, $recentlistingsView, $helper);

$content = $recentlistingsModel->render();

echo $standardView->render($content);
?>